package com.sicnu.estatemanagement.service;

import com.github.pagehelper.Page;
import com.sicnu.estatemanagement.domain.House;

import java.util.List;
import java.util.Map;

public interface HomeService {

    List<House> findAll();

    Page<House> search(Map searchMap);

    Boolean add(House House);

    House findById(Integer id);

    Boolean update(House House);

//    Boolean updateStatus(String status, Integer id);

    Boolean del(List<Integer> ids);
}
